﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Microsoft.AspNetCore.DataProtection.KeyManagement;
using Microsoft.AspNetCore.Http.HttpResults;

using OfficialWeb.Core;

using OOS.Core.RelyOn;

using SqlSugar;

namespace OOS.Core.Category
{
    /// <summary>
    /// 分类管理
    /// </summary>
    [SugarTable("category_basic_info")]
    public class CategoryBasic:IdAndIsDeletedAndSortAndUserIntBase
    {
        /// <summary>
        /// 分类名称
        /// </summary>
        [SugarColumn(ColumnName = "category_name")]
        public string CategoryName { get; set; }

        /// <summary>
        /// 分类类型 1，菜品；2，套餐
        /// </summary>
        [SugarColumn(ColumnName = "type")]
        public int Type { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [SugarColumn(ColumnName = "description")]
        public String Description { get; set; }
    }
}
